public static boolean isValidPresenceValue(int presence)
    {
    	switch(presence) {
    	case AWAY:
    	case ONLINE:
    	case HIDEN:
    	case BUSY:
    	case ROBOT:
    		return true;
    	
    	default:
    		return false;
    		
    	}
    }