def apStar_identify(origin, *args, **kwargs):
    """
    Check whether given filename is FITS. This is used for Astropy I/O
    Registry.
    """
    return isinstance(args[0], str) and args[0].lower().split('.')[-1
        ] == 'fits' and args[0].startswith('apStar')
