Package Rice Bags

Provided that you have a given number of small rice bags (1 kilo each) and big rice bags (5 kilo each), write a method that returns true if it is possible to make a package with goal kilos of rice.

public Boolean packageRice(Integer big, Integer small, Integer goal) {
}