protected function checkBinary(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            // if attribute is in binary field list
            if (in_array($key, $this->binaries)) {
                return true;
            }
        }

        return false;
    }
protected function checkBinary(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            // if attribute is in binary field list
            if (in_array($key, $this->binaries)) {
                return true;
            }
        }

        return false;
    }
protected function checkBinary ( array $ attributes ) { foreach ( $ attributes as $ key => $ value ) { // if attribute is in binary field list if ( in_array ( $ key , $ this -> binaries ) ) { return true ; } } return false ; }
Check if attributes contains binary field.

@param  array $attributes
@return bool
Check if attributes contains binary field .