def METHOD_NAME(origin, filepath, fileobj, *args, **kwargs):
    """Identify the given extensions in a file object/path
    """
    # pylint: disable=unused-argument
    return (
        isinstance(filepath, str)
        and filepath.endswith(extensions)
    )