I wrote a solution to a method, but I was told I could write it better and in one line:
public boolean parrotTrouble(boolean talking, int hour) {