public boolean bool(XPathContext xctxt)
          throws javax.xml.transform.TransformerException
  {
    return (asNode(xctxt) != DTM.NULL);
  }
public boolean bool ( XPathContext xctxt ) throws javax . xml . transform . TransformerException { return ( asNode ( xctxt ) != DTM . NULL ) ; }
Evaluate this operation directly to a boolean.

@param xctxt The runtime execution context.

@return The result of the operation as a boolean.

@throws javax.xml.transform.TransformerException