Function JointExists( joint_id )