original_string: protected function isProtectedAttribute($key, $value)
      {
          return (in_array($key, $this->getProtectable()) && ($value === $this->protectionMask));
      }
code: protected function isProtectedAttribute($key, $value)
      {
          return (in_array($key, $this->getProtectable()) && ($value === $this->protectionMask));
      }
code_tokens: protected function isProtectedAttribute ( $ key , $ value ) { return ( in_array ( $ key , $ this -> getProtectable ( ) ) && ( $ value === $ this -> protectionMask ) ) ; }
docstring: Check if the attribute coming from client is set to mask. If so, skip writing to database.
  
  @param string $key   Attribute name
  @param mixed  $value Value of the attribute $key
  @return bool
docstring_tokens: Check if the attribute coming from client is set to mask . If so skip writing to database .