Php conditional help needed

This post is related to php
so you should post it in stackoverflow
but as you are a new user .i would help you

<?php if (is_author('2') && (is_single()) ) { ?>
<link rel="author" href="https://plus.google.com/**********"/>
<?php } ?>

tech