Checks the function call name

def call_name_is(siter, name):
    """Checks the function call name"""
    return (
        isinstance(siter, ast.Call)
        and hasattr(siter.func, 'attr')
        and siter.func.attr == name
    )