def METHOD_NAME(encoding):
    """Verify that the filesystem encoding is valid."""
    invalid_encodings = ('ansi_x3.4-1968', 'us-ascii', 'ascii', 'charmap', 'cp65001')
    if not encoding or encoding.lower() in invalid_encodings:
        return False
    return True