Use function_exists( 'genesis' ) to check if Genesis theme is active