support checking property instead of fields