As has_role returns a boolean anyway, there is no need for another if-statement.
Attach a file by drag & drop or click to upload