def is_num(any_param):
    """
    Check is number or string, if number, return it
    :param any_param:
    :return: int or False
    """
    if isinstance(any_param, int):
        return any_param
    else:
        try:
            num = int(any_param)
            return num
        except ValueError:
            return False
