for (PersonFunction accountability : getActiveFunctions()) {
for (PersonFunction accountability : getActivePersonFunctions()) {
    public boolean hasFunctionType(FunctionType functionType) {        for (PersonFunction accountability : getActiveFunctions()) {            if (accountability.getFunction().getFunctionType() == functionType) {                return true;            }        }        return false;    }