Add a check for the mediaLike function