public boolean checkAttribute(String attribute){
        boolean result = false;
        for(String s : attributes.keySet()){
            if(s.equals(attribute)){
                result = true;
            }
        }
        return result;
    }