false => FALSE
but, isn't it enough just to 

``if ($key = array_search($role, $form['account']['roles']['#options']))) {``