def catch_erroneous_destination(destination):
    """
    Catch instructions that are not valid and throw an error.
    """
    error_msg = "Available instructions are: 'any', or '#', where '#' "\
        "is an integer."
    if destination not in ["any"]:
        try:
            integer_destination = int(destination)
        except ValueError:
            print(error_msg)
            return False
            
    return True