def parent_id?(item)
      parent.id && item.send(foreign_key).eql?(parent.id)
    end
def parent_id?(item)
      parent.id && item.send(foreign_key).eql?(parent.id)
    end
Check if `parent_id` is defined on `item`

 @param item [BlockScore::Base] any resource

 @return [Boolean]

 @api private