function JointExists( joint_id )