During altering a form I realized that form '#states' are currently not working with managed file fields.
1. Create a new custom form
2. Add two fields
2.1. Image field
2.2. Boolean field
3. Configure the form state for the image field that it should just be shown when the boolean field value is TRUE.
It works for every other field type except this one.