For future reference projects that already have commons-lang included you can use:

if (StringUtils.isEmpty(roleId)) {

Including a new library just for this seems a waste, but when a project is already using it the code can be a little more readable.