def METHOD_NAME(value):
    """Returns whether the value is a magnitude object
    :param value: the object to check
    :return: True if value is a magnitude object
    :rtype: bool
    """
    return isinstance(value, Magnitude)