Check for presence before checking for length