return $post->user->is($user)
make sure the relationship is set for above example. to test if the policy is hitting just write
return true;
and see if it performs if not the policy is not hitting.