check for attribute existance in policies