is_m_param function

Determine if the object is a valid m parameter