def METHOD_NAME(file_path: Text) -> bool:
    """Checks if a file is a Rasa compatible nlu file.
    Args:
        file_path: Path of the file which should be checked.
    Returns:
        `True` if it's a nlu file, otherwise `False`.
    """
    from rasa.shared.nlu.training_data import loading as nlu_loading
    return nlu_loading.guess_format(file_path) != nlu_loading.UNK