original_docstring: Check if user is friend of Rich plant owner 
docstring: Check if user is friend of Rich plant owner
docstring_tokens: Check if user is friend of Rich plant owner
code: def check_is_user_friend_of_plant_owner(user, target_rich_plant):
      """Check if user is friend of Rich plant owner """
      target_user = User.objects.get(id=target_rich_plant.owner)
      if user in target_user.friends.all():
          return True
      else:
          return False
code_tokens: def check_is_user_friend_of_plant_owner ( user , target_rich_plant ) : target_user = User . objects . get ( id = target_rich_plant . owner ) if user in target_user . friends . all ( ) : return True else : return False
short_docstring: Check if user is friend of Rich plant owner
short_docstring_tokens: Check if user is friend of Rich plant owner
comment: """Check if user is friend of Rich plant owner """