public static boolean isDerivedAdjective(final String word){
  if (word.length() > 4) {
    if (word.endsWith("al") || word.endsWith("ic"))     return true;
    if (word.endsWith("ed"))     return true;
  }
  return false;
}

public static boolean isDerivedAdjective ( final String word ) { if ( word . length ( ) > 4 ) { if ( word . endsWith ( "al" ) || word . endsWith ( "ic" ) ) return true ; if ( word . endsWith ( "ed" ) ) return true ; } return false ; }
check the given word for derived adjectives like " magical " or " nomadic " .
