Java tutorial
//package com.java2s; public class Main { /** * Returns true if the specified attribute has no string. * * @param nodes * @return * @throws AnalysisEngineProcessException */ public static boolean hasNoAttribute(String attr) { if (attr == null || attr.isEmpty()) { return true; } return false; } }