Looks whether the key file has the group group_name.
group_name
a KeyFile
a group name
true if group_name is a part of this, false otherwise.