code: public function validateInput(array $rules)
  	{
  		foreach ($rules as $rule)
  			if (empty($this->inputs[$rule])) return false;
  
  		return true;
  	}
docs: Return true if input is valid
  
  @param array $rules list of input rules
  
  @return bool