code: boolean isEmpty(Object scope, String propertyPath) throws TemplateException
    {
      return Types.asBoolean(getValue(scope, propertyPath)) == false;
    }
docs: Test if value is empty. Delegates {@link #getValue(Object, String)} and returns true if found value fulfill one of
  the next conditions:
  <ul>
  <li>null
  <li>boolean false
  <li>number equals with 0
  <li>empty string
  <li>array of length 0
  <li>collection of size 0
  <li>map of size 0
  <li>undefined character
  </ul>
  Note that undefined value, that is, field or method getter not found, is not considered empty value.
  
  @param scope scope object,
  @param propertyPath property path.
  @return true if value is empty.
  @throws TemplateException if requested value is undefined.