original_string: protected function address_explicitly_blocked($addr) {
          $blockedhosts = $this->get_blacklisted_hosts_by_category();
          $iphostsblocked = array_merge($blockedhosts['ipv4'], $blockedhosts['ipv6']);
          return address_in_subnet($addr, implode(',', $iphostsblocked));
      }
code: protected function address_explicitly_blocked($addr) {
          $blockedhosts = $this->get_blacklisted_hosts_by_category();
          $iphostsblocked = array_merge($blockedhosts['ipv4'], $blockedhosts['ipv6']);
          return address_in_subnet($addr, implode(',', $iphostsblocked));
      }
code_tokens: protected function address_explicitly_blocked ( $ addr ) { $ blockedhosts = $ this -> get_blacklisted_hosts_by_category ( ) ; $ iphostsblocked = array_merge ( $ blockedhosts [ 'ipv4' ] , $ blockedhosts [ 'ipv6' ] ) ; return address_in_subnet ( $ addr , implode ( ',' , $ iphostsblocked ) ) ; }
docstring: Checks whether the input address is blocked by at any of the IPv4 or IPv6 address rules.
  
  @param string $addr the ip address to check.
  @return bool true if the address is covered by an entry in the blacklist, false otherwise.
docstring_tokens: Checks whether the input address is blocked by at any of the IPv4 or IPv6 address rules .