That's never guaranteed, but IMHO the best indication would be source code being available under a Free Software/Open Source licence.