public function checkData(array $data) 
	{
		$keys = array('to', 'fullname', 'title', 'activationLink', 'siteurl', 'cdnurl', 'siteName');
		
		foreach($keys as $key) {
			if(!array_key_exists($key, $data)) {
				throw new \Exception('Key not in data');
			}
		}
		
		return $this;
	}
public function checkData(array $data) 
	{
		$keys = array('to', 'fullname', 'title', 'activationLink', 'siteurl', 'cdnurl', 'siteName');
		
		foreach($keys as $key) {
			if(!array_key_exists($key, $data)) {
				throw new \Exception('Key not in data');
			}
		}
		
		return $this;
	}
public function checkData ( array $ data ) { $ keys = array ( 'to' , 'fullname' , 'title' , 'activationLink' , 'siteurl' , 'cdnurl' , 'siteName' ) ; foreach ( $ keys as $ key ) { if ( ! array_key_exists ( $ key , $ data ) ) { throw new \ Exception ( 'Key not in data' ) ; } } return $ this ; }
Checks if data contains neede keye

@param array $data
@throws \Exception
@return \Mailer\Mail\ClassifiedAnswer
Checks if data contains neede keye