'Helper method for evaluating the access type using eval().
Args:
accessing_obj (object): Object seeking access.
locks (dict): The pre-parsed representation of all access-types.
access_type (str): An access-type key to evaluate.'

def _eval_access_type(self, accessing_obj, locks, access_type):

    (evalstring, func_tup, raw_string) = locks[access_type]
    true_false = tuple((tup[0](accessing_obj, self.obj, *tup[1], **tup[2]) for tup in func_tup))
    return eval((evalstring % true_false))
