Hunt for certain WordPress user

Search for a certain WordPress user. Will only respond if the account was found. Change user to either the login or email of the person your looking for.

[email protected]
if [[ "$( wp user get $user --skip-plugins --skip-themes 2> /dev/null )" != "" ]]
then
     home_url=$( wp option get home --skip-plugins --skip-themes ) 
     echo "$user exists on $home_url" 
fi