Check if empty before lookup