How to restrict access to view a block for a certain role? I have some custom roles such as Premium Membership and I don't want to allow access to this category.

The authenticated role is included to Premium Membership or Moderator users because every registered user has this authenticated role assigned to them by default.

I want to hide a block and display only for authenticated users that do not have other roles assigned to them.

What can I do?
Visibility Block base on the Role is built-in Drupal 8 feature. 

go to admin/structure/block and click on your desire block configure button



then in Visibility section, there is Role that you can define for which role your module  show , or not to show.