Drupal 7 PHP To only Show Block on User's Own Profile Page

This will also show on the person's user/12345/edit page when they are editing their user profile.

<?php
global $user;
$user_id = $user->uid;
if (('user' === arg(0)) && ($user_id === arg(1))) {
return TRUE;
} else {
return FALSE;
}
?>