def METHOD_NAME(self, file_path):
    """
    check for valid parameter file for parse cloudformation template
    """
    file_parts = file_path.split(".")
    if len(file_parts) > 0 and file_parts[-1] in allowed_extensions:
        json_data = json_from_file(file_path)
        if json_data and isinstance(json_data, list):
            parameter = json_data[0]
            if isinstance(parameter, dict) and "ParameterKey" in parameter and "ParameterValue" in parameter:
                return True
    return False