def has_vtable(decl_type):
assert isinstance(decl_type, class_declaration.class_t)<EOL>return bool(<EOL>decl_type.calldefs(<EOL>lambda f: isinstance(f, calldef_members.member_function_t) and<EOL>f.virtuality != calldef_types.VIRTUALITY_TYPES.NOT_VIRTUAL,<EOL>recursive=False,<EOL>allow_empty=True))<EOL>
True, if class has virtual table, False otherwise