Binary search STL

Cant we use if(*lb>key){ } condition to check if element is present or not using lower_bound() STL.
where, auto lb = lower_bound(arr, arr+n, key);

not *lb>key
but
arr[*lb] > key can be used to check whether element present or not

where auto lb=lower_bound(arr, arr+n, key) - arr ;