### Question:
PropertyHelper { public static boolean isStaticProperty(OMElement property) { return "property".equals(property.getLocalName().toLowerCase()) && (property.getAttributeValue(new QName("expression")) == null); }  static void setInstanceProperty(String name, Object val, Object obj); static void setStaticProperty(OMElement property, Object o); static boolean isStaticProperty(OMElement property);  }### Answer:
@Test public void testIsStaticProperty() throws XMLStreamException { OMElement element = AXIOMUtil.stringToOM(STATIC_XML); Assert.assertTrue("should identify as static property", PropertyHelper.isStaticProperty(element)); element = AXIOMUtil.stringToOM(NON_STATIC_XML); Assert.assertFalse("should identify as non-static property", PropertyHelper.isStaticProperty(element)); }