def check_int(num):
    """Check if arguement is integer.

    Arg:
        num (int): The only arguement.

    Returns:
        bool: The return value. True if num is indeed an integer, False otherwise.
    """
    if num is not None:
        try:
            int(num)
            return True
        except ValueError:
            return False
    else:
        return False