@staticmethod
def showSub(class_, field):
    """Show button "details" only under field "title", if a method named
           "getSubTitle" is defined on p_class_."""
    return field.name == 'title' and class_.hasSubTitle()
