def is_numeric(obj):
    """
    This detects whether an input object is numeric or not.

    :param obj: object to be tested.
    """
    try:
        obj + obj, obj - obj, obj * obj, obj ** obj, obj / obj
    except ZeroDivisionError:
        return True
    except Exception:
        return False
    else:
        return True
