protected function checkList($item)
	{
		$inList = in_array($item, $this->list);
		
		$allow = null;
		
		if ($this->mode == self::MODE_BLACKLIST) {
			$allow = ! $inList;
		} else {
			$allow = $inList;
		}
		
		return $allow;
	}
protected function checkList($item)
	{
		$inList = in_array($item, $this->list);
		
		$allow = null;
		
		if ($this->mode == self::MODE_BLACKLIST) {
			$allow = ! $inList;
		} else {
			$allow = $inList;
		}
		
		return $allow;
	}
protected function checkList ( $ item ) { $ inList = in_array ( $ item , $ this -> list ) ; $ allow = null ; if ( $ this -> mode == self :: MODE_BLACKLIST ) { $ allow = ! $ inList ; } else { $ allow = $ inList ; } return $ allow ; }
Checks if item is in list
@param type $item
@return boolean $allow
Checks if item is in list