I think your looking for an hasManyThrough relation.
You can simple add an method on your Author model to fetch an authors comments that goes trough your Post model. Add this your Author model:
public function comments()
{
return $this->hasManyThrough(
'App\Comment',
'App\Post',
'author_id', // Foreign key on post table...
'post_id', // Foreign key on comments table...
);
}
Now you can check if there are comments where comment column is okay by accessing it like this:
$author = Author::find(1);
$author_comments = $author->comments()->where('comment', 'okay')->get();
You can change the where clause however you like.
I recommend you to read the information behind this link to understand how this exactly work: laravel.com/docs/5.6/eloquent-relationships#has-many-through