def input_checker(s):
    """
    This function takes a string input and returns false if it contains one or more non terminal spaces.
    If not, the function returns an integer.

    Args:
        s (string): string which needs to be checked

    Returns:
        boolean: False if the string contains one or more non terminal spaces
        int: Value of the number in the string if the string does not contain any non terminal spaces
    """
    s = s.strip()
    temp = s.split()
    if len(temp) > 1:
        return False
    else:
        return int(s)