code: boolean contains(Block block, DatanodeDescriptor datanode) {
      BlockInfo info = blocks.get(block);
      if (info == null)
        return false;
      
      if (-1 == info.findDatanode(datanode))
        return false;
      
      return true;
    }
docs: Check if the replica at the given datanode exists in map