import json


def is_valid_json(file_path: str) -> bool:
    """Return True if the file is valid json. False otherwise."""
    try:
        with open(file_path) as fil:
            json.load(fil)
    except json.JSONDecodeError:
        return False
    else:
        return True