DECLARE_HAS_MEMBER simplified