Easy way to determine if user elevation is requested

Is there an easy way to detect whether or not elevation is requested?

determine if
ansible-playbook … --become
is executed
or the
ansible_become: true
is set?

Thanks
Will.