public boolean containsAction(String action) {
		if (definition == null) {
			return false;
		}

		String[] actions = definition.actions;
		if (action != null) {
			for (String s : actions) {
				if (s != null && s.equalsIgnoreCase(action)) {
					return true;
				}
			}
		}
		return false;
	}