def param_matches_type(param_name, rig_type):
    """ Returns True if the parameter name is consistent with the rig type.
    """
    if param_name.rsplit('.', 1)[0] == rig_type:
        return True
    else:
        return False
