function is_author ($author = '') {
    global $wp_query;

    if ( !$wp_query->is_author )
        return false;