0.4.3 Altered the function so that certain states could have no actions available, policy can now return nil as a result.