def check_file_format(input_file_name, *args, ext=('.xlsx',)):
"""
Check file format extension.
:param input_file_name:
Input file name.
:type input_file_name: str
:param ext:
Allowed extensions.
:type ext: tuple[str]
:return:
If the extension of the input file is within the allowed extensions.
:rtype: bool
"""
return input_file_name.lower().endswith(ext)