def port_check(serverport):

    """ Taken from EARCIS code.
        Check if the server port passed in is a valid TCP port if not, return False; otherwise, return True.
        Input: (serverport) % (int)
        Output: Boolean
    """

    if not (0 < serverport < 65536):
        return False
    
    return True