public static boolean isStaff(CommandSender sender)
	{
		
		if(sender instanceof ConsoleCommandSender)
		{
			
			return true;
			
		}
		
		Player player = (Player) sender;
		
		if(!StaffChat.getStaffChat().isVaultPresent())
		{
			
			return false;
			
		}
	
		if(StaffChat.getStaffChat().isPermissionsPresent())
		{
			
			if(StaffChat.getStaffChat().getPermission().hasGroupSupport())
			{
				
				for(String playerGroup : StaffChat.getStaffChat().getPermission().getPlayerGroups(player))
				{
					
					for(String staffGroup : StaffChat.getStaffChat().getConfiguration().getStaffGroups())
					{
						
						if(staffGroup.equalsIgnoreCase(playerGroup))
						{
							
							return true;
							
						}
						
					}
					
				}
				
			}
			
		}

		return false;
		
	}