/**
* Check if this handler can handle the given Record
*
* @param Record $record
*
* @return bool Boolean telling whether this handler can handle the given Record
*/
public function canHandle(Record $record)
{
if ($this->levels->count() < 1) {
return true;
}
return $this->levels->inArray($record->getLevel());
}