vijaycs85/export_roles_permissions/#2: Add the role check & create code from drupal 7 for export.