EZP-21305: Directly test for attribute existence and content