Looking at the code above, I don't necessarily see anything that would be causing in issue. I've used is_action_pressed in Godot many times, and it should return a boolean that is true when the input is pressed and false when it is released.
The issue is likely because the actions for player_trust and laterial_left are not correctly setup or the name(s) for the input actions are slightly different in the code or the project settings.
I would check to see if the input actions are correctly bound to an input device first. If that does not work, then I would add some print statements to see if the code within the if/elif statements is executing or not. Another thing you could try is printing the results of Input.is_action_pressed("lateral_left") (for example) and see if it matches what you expect.