Move check_deleg_conflict function to appropriate file and simplify.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Add delegation conflict detection to anonymous ops.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>