def check_invert(kwargs):
    """ Check image invertion
    """
    invertx = False
    inverty = False
    invertz = False
    if kwargs:
        for arg in kwargs.keys():
            if arg == 'invertx':
                invertx = kwargs[arg]
            if arg == 'inverty':
                inverty = kwargs[arg]
            if arg == 'invertz':
                invertz = kwargs[arg]
    return invertx, inverty, invertz
