check if result is both nil and empty
check if result is both nil and empty
check if value is both nil and empty