def has_valid_fastq_extension(file_location):
    """
    Determines whether or not the passed file location has a valid FASTQ or GZIP'd FASTQ file extension.

    ARGUMENTS
        file_location (str): the location of the file to check

    RETURNS
        valid (bool): whether or not the file location has a valid FASTQ extension
    """

    valid_extensions = ("fastq", "fq", "fastq.gz", "fq.gz")
    valid = file_location.lower().endswith(valid_extensions)  # Case insensitive matching

    return valid